
// MSAATest.h : main header file for the MSAATest application
//
#pragma once

#ifndef __AFXWIN_H__
	#error "include 'stdafx.h' before including this file for PCH"
#endif

#include "resource.h"       // main symbols


// CMSAATestApp:
// See MSAATest.cpp for the implementation of this class
//

class CMSAATestApp : public CWinAppEx
{
public:
	CMSAATestApp();


// Overrides
public:
	virtual BOOL InitInstance();
	virtual int ExitInstance();

// Implementation
	UINT  m_nAppLook;
	BOOL  m_bHiColorIcons;

	virtual void PreLoadState();
	virtual void LoadCustomState();
	virtual void SaveCustomState();

	static void				SetDoIdle(BOOL bDoIdle){m_bDoIdle = bDoIdle;}
	static void				DisableIdleMessage(HWND hwnd);
	static VOID	 CALLBACK	TimerProc( HWND hwnd, UINT uMsg, UINT idEvent, DWORD dwTime );

	afx_msg void OnAppAbout();

	static BOOL m_bDoIdle;

	virtual BOOL OnIdle(LONG lCount);
	DECLARE_MESSAGE_MAP()
};

extern CMSAATestApp theApp;
